using namespace std;
#include"STL.h"
int main()
{
	//xtb::STL s1("abcdefg");
	//for (int i = 0; i < s1.size(); i++)
	//{
	//	s1[i]++;
	//}
	//char tmp[10] = {"a"};
	//char* np = tmp;
	//char* npp = np;
	//cout << *npp << endl;
	//xtb::STL s2("abcdef");
	//cout << s2.stl() << endl;
	//xtb::STL s3("asbc");
	//s2 += s3;
	//cout << s2.stl() << endl;
	//string s3("abcdef");
	//cout << s3 << endl;
	//s3.push_back('a');
	//cout << s3 << endl;
	//string s2("aaaaa");
	//cout << s2 << endl;
	//s2.insert(3,"b");
	//cout << s2 << endl;
	//xtb::STL s1("aabbbb");
	//s1.erase(0, 3);
	//cout << s1.stl() << endl;
	//std::string s3("aabbbbcccc");
	//std::string s4("");
	//s4 = s3.substr(2, 4);
	//cout << s4<< endl;
	xtb::STL s1("aabbbbcccc");
	xtb::STL s2;
	s2=s1.substr(2,4);
	cout <<s2<< endl;
	//xtb::STL s1("aabbbb");
	//cout << s1 << endl;
	//xtb::STL s2(s1);
	//cout << s2 << endl;
	return 0;
}
